﻿using LtMbs;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.VisualStudio.TestTools.UnitTesting.Web;
using HelpdeskPluginTestLibary.KalDev;
using System;
using HelpdeskPluginTestLibary.KalDev;

namespace HelpdeskPluginTestLibary
{
    
    
    /// <summary>
    ///This is a test class for ContactTest and is intended
    ///to contain all ContactTest Unit Tests
    ///</summary>
    [TestClass()]
    public class ContactTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for Title
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void TitleTest()
        {
            Contact_Accessor target = new Contact_Accessor(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.Title = expected;
            actual = target.Title;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for ShopperId
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void ShopperIdTest()
        {
            Contact_Accessor target = new Contact_Accessor(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.ShopperId = expected;
            actual = target.ShopperId;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for PhoneNumber
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void PhoneNumberTest()
        {
            Contact_Accessor target = new Contact_Accessor(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.PhoneNumber = expected;
            actual = target.PhoneNumber;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for PersonIdNumber
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void PersonIdNumberTest()
        {
            Contact_Accessor target = new Contact_Accessor(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.PersonIdNumber = expected;
            actual = target.PersonIdNumber;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Password
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void PasswordTest()
        {
            Contact_Accessor target = new Contact_Accessor(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.Password = expected;
            actual = target.Password;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for OrderNumber
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void OrderNumberTest()
        {
            Contact_Accessor target = new Contact_Accessor(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.OrderNumber = expected;
            actual = target.OrderNumber;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for MobileNumber
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void MobileNumberTest()
        {
            Contact_Accessor target = new Contact_Accessor(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.MobileNumber = expected;
            actual = target.MobileNumber;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for LastName
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void LastNameTest()
        {
            Contact_Accessor target = new Contact_Accessor(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.LastName = expected;
            actual = target.LastName;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for LanguagePreference
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void LanguagePreferenceTest()
        {
            Contact_Accessor target = new Contact_Accessor(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.LanguagePreference = expected;
            actual = target.LanguagePreference;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for KmsPassword
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void KmsPasswordTest()
        {
            Contact_Accessor target = new Contact_Accessor(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.KmsPassword = expected;
            actual = target.KmsPassword;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for FirstName
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void FirstNameTest()
        {
            Contact_Accessor target = new Contact_Accessor(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.FirstName = expected;
            actual = target.FirstName;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Firstname
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void FirstnameTest()
        {
            Contact_Accessor target = new Contact_Accessor(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.Firstname = expected;
            actual = target.Firstname;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for EmailAddress
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void EmailAddressTest()
        {
            Contact_Accessor target = new Contact_Accessor(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.EmailAddress = expected;
            actual = target.EmailAddress;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for DateOfBirth
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void DateOfBirthTest()
        {
            Contact_Accessor target = new Contact_Accessor(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.DateOfBirth = expected;
            actual = target.DateOfBirth;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Country
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void CountryTest()
        {
            Contact_Accessor target = new Contact_Accessor(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.Country = expected;
            actual = target.Country;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for AddressLine4
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void AddressLine4Test()
        {
            Contact_Accessor target = new Contact_Accessor(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.AddressLine4 = expected;
            actual = target.AddressLine4;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for AddressLine3
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void AddressLine3Test()
        {
            Contact_Accessor target = new Contact_Accessor(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.AddressLine3 = expected;
            actual = target.AddressLine3;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for AddressLine2
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void AddressLine2Test()
        {
            Contact_Accessor target = new Contact_Accessor(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.AddressLine2 = expected;
            actual = target.AddressLine2;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for AddressLine1
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void AddressLine1Test()
        {
            Contact_Accessor target = new Contact_Accessor(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.AddressLine1 = expected;
            actual = target.AddressLine1;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for updateKms
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void updateKmsTest()
        {
            Contact_Accessor target = new Contact_Accessor(); // TODO: Initialize to an appropriate value
            Guid contactId = new Guid(); // TODO: Initialize to an appropriate value
            string ShopperId = string.Empty; // TODO: Initialize to an appropriate value
            target.updateKms(contactId, ShopperId);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for GetFromKms
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void GetFromKmsTest()
        {
            Contact_Accessor target = new Contact_Accessor(); // TODO: Initialize to an appropriate value
            string ShopperId = string.Empty; // TODO: Initialize to an appropriate value
            Shopper expected = null; // TODO: Initialize to an appropriate value
            HelpdeskPluginTestLibary.KalDev.Shopper actual;
            //Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for createUnknownContact
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void createUnknownContactTest()
        {
            string email = string.Empty; // TODO: Initialize to an appropriate value
            string FirstName = string.Empty; // TODO: Initialize to an appropriate value
            string LastName = string.Empty; // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            actual = Contact_Accessor.createUnknownContact(email, FirstName, LastName);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for CreateCrmContact
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void CreateCrmContactTest()
        {
            string KmsShopperId = string.Empty; // TODO: Initialize to an appropriate value
            Guid expected = new Guid(); // TODO: Initialize to an appropriate value
            Guid actual;
            actual = Contact_Accessor.CreateCrmContact(KmsShopperId);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for createCrmContact
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void createCrmContactTest()
        {
            Contact_Accessor target = new Contact_Accessor(); // TODO: Initialize to an appropriate value
            string ShopperId = string.Empty; // TODO: Initialize to an appropriate value
            Guid expected = new Guid(); // TODO: Initialize to an appropriate value
            Guid actual;
            actual = target.createCrmContact(ShopperId);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }


        /// <summary>
        ///A test for Create
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void CreateTest()
        {
            Contact_Accessor target = new Contact_Accessor(); // TODO: Initialize to an appropriate value
            Guid expected = new Guid(); // TODO: Initialize to an appropriate value
            Guid actual;
            actual = target.Create();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Contact Constructor
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void ContactConstructorTest()
        {
            Contact_Accessor target = new Contact_Accessor();
            Assert.Inconclusive("TODO: Implement code to verify target");
        }
    }
}
